﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApi_ProductText1.Domain.Entity
{
    /// <summary>
    /// 用户模块
    /// </summary>
    public class User:BaseEntity
    {
        // 用户名，密码，电话，邮箱，身份证号，地址，姓名，昵称.....
        // Username, password, phone, email, ID number, address, name, nickname
        // 用户名
        public string UserName { get; set; }
        // 密码
        public string Password { get; set; }
        // 电话
        public string UserPhone { get; set; }
        // 邮箱
        public string Email { get; set; }
        // 身份证号
        public string IDnumber { get; set; }
        // 地址
        public string Address { get; set; }
        // 姓名
        public string Name { get; set; }
        // 昵称
        public string NickName { get; set; }
        
        public IEnumerable<ShoppingTrolley> ShoppingTrolleys { get; set; }
        public IEnumerable<Orderform> Orderforms { get; set; }

    }
}
